package cn.iocoder.yudao.module.eval.controller.admin.assignment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 发送分配通知 Request VO")
@Data
public class EvalAssignmentNotificationReqVO {

    @Schema(description = "分配ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "分配ID列表不能为空")
    private List<Long> assignmentIds;

    @Schema(description = "通知类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "assignment")
    @NotNull(message = "通知类型不能为空")
    private String notificationType;

    @Schema(description = "通知渠道", example = "[\"system\", \"email\", \"sms\"]")
    private List<String> notifyChannels;

    @Schema(description = "自定义消息", example = "请及时确认您的分配任务")
    private String customMessage;

}
